<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  /libs/jquery/1.10.2/jquery.min.js">
  </script>
  <script>
    $(document).ready(function () {
      $("#hide").click(function () {
        $("p").hide(500);
      });
      $("#show").click(function () {
        $("p").show();
      });
      $("#button1").click(function () {
        $("p").toggle(300);
      });
    });

  </script>
</head>
<body>
<p>如果你点击“隐藏1”ssss 按钮，我将会消失。</p>
<button id="hide">隐藏</button>
<button id="show">显示</button>
<button id="button1">Toggle</button>
</body>
</html>